
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'addAddress.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>
<script type="text/javascript" src="js/china.js"></script>

<body>
	<%
		List<String> addresses= (List<String>)request.getAttribute("addresses");
		for(String address:addresses){
	 %>
		<div><%=address %>    <a href="">删除</a></div>
	<%
		}
	 %>
	<form action="" method="post">
		添加收货地址：
		<select id="province" onchange="provinceChanged();">
			<option value="0">==请选择省份==</option>
		</select>
		<select id="city" onchange="cityChanged();">
			<option value="0">==请选择城市==</option>
		</select>
		<select id="district" onchange="changeText('district');">
			<option value="0">==请选择区/县==</option>
		</select>
		详细地址： <input type="hidden" name="province">
				<input type="hidden" name="city">
				<input type="hidden" name="district">
				<input id="detail" type="text" name="detail"><br/>
				收 货 人：<input id="receiver" type="text" name="receiver"><br/>
				联系电话： <input id="phone" type="text" name="phone">
		<input type="submit" name="新增地址">
	</form>

</body>
</html>
